﻿using MediaBot.Entities;
using System.Xml.Serialization;

namespace RakutenProxy.ConfigEntity
{
    [XmlRoot("config-entity")]
    public class RakutenProductsConfig
    {
        [XmlElement("productNode")]
        public MatchType ProductNode;

        [XmlElement("productName")]
        public MatchType ProductName;

        [XmlElement("productUrl")]
        public MatchType ProductUrl;

        [XmlElement("manufacturerName")]
        public MatchType ManufacturerName;

        [XmlElement("manufacturerUrl")]
        public MatchType ManufacturerUrl;

        [XmlElement("price")]
        public MatchType Price;

        [XmlElement("thumbnailImage")]
        public MatchType ThumbnailImage;

        [XmlElement("shortDescription")]
        public MatchType ShortDescription;

        [XmlElement("nextPage")]
        public MatchType NextPage;

        [XmlAttribute("pages-limit")]
        public int PagesLimit;
    }
}